package com.leete.observer;

import java.util.Observable;

/**
 * @author liqiang
 * @version 1.0
 * @description:
 * @date 2023/5/6 17:59
 */
public class MyObservable extends Observable {

    /**
     * Marks this <tt>Observable</tt> object as having been changed; the
     * <tt>hasChanged</tt> method will now return <tt>true</tt>.
     */
    @Override
    protected synchronized void setChanged() {
        super.setChanged();
    }
}
